{% extends "../templates/index.html" %}
{% block concent %}
<head>
    <meta charset="UTF-8">
    <title>任务详情</title>
</head>
<body>
<p> 任务名称: {{ task.name }} | <a href="{% url 'tasks:task_update' task.id %}">修改</a> |
    <a href="{% url 'tasks:task_delete' task.id %}">删除</a>
</p>
<p> 任务状态: {{ task.get_status_display }} </p>
<p> <a href="{% url 'tasks:task_list' %}">查看所有任务</a> |
    <a href="{% url 'tasks:task_create'%}">添加任务</a>
</p>
</body>
{% endblock %}